Xunhu\Wechatpay\PaymentGateway B

Total Complexity 76
Dependencies 2
Dependents 2
Total lines 934
Lines of code 634
Logical lines of code 219
Comment lines 136
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
receipt_page()
B
25
8 283
listen_notify()
B
38 17 65
query_order()
A
50 8 27
get_user_ip()
S
51 7 29
generate_xh_hash()
S
61 6 11
init_form_fields()
S
39 1 83
get_order_title()
S
56 5 17
getCurrentUrl()
S
57 5 16
process_payment()
S
59 4 14
http_post()
S
53 3 23
__construct()
S
53 3 21
admin_options()
S
57 3 18
log()
S
67 3 8
timed_redirect_with_message()
S
62 1 11
get_order()
S
75 1 4
listen_refund()
S
78 1 4